<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑用户</title>
<%@include file="../commons/taglibs.jsp" %>
<%@include file="../commons/jquery.jsp" %>
<%@include file="../commons/jquery-validation.jsp"%>
<%@include file="../commons/bootstrap.jsp"%>

<script type="text/javascript" src="${base}/resources/js/user/toUpd.js"></script>
</head>
<body>

<div class="modal-body">
	<div class="container-fluid">
		<form class="form-horizontal" role="form" >
			<input type="hidden" name="user.id" value="${user.id}" id="id"/>
			<div class="form-group">
				<label class="col-sm-3 control-label">用户名：</label>
			    <div class="col-sm-7">
			      <input type="text" id="userName" class="form-control" name="user.userName" value="${user.userName}" />
				  <label class="error" for="userName"></label>
			    </div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">密码：</label>
			    <div class="col-sm-7">
			      <input type="password" id="password" class="form-control" name="user.password" data-toggle="tooltip" data-placement="top" title="不修改密码则留空!" />
				  <label class="error" for="password"></label>
			    </div>
			</div>
		</form>
	</div>
	</div>
<div class="modal-footer">
	<a href="#nogo" class="btn btn-success">保存修改</a>
	<a href="#nogo" class="btn btn-default" onclick="gDialog.fClose();">关闭</a>
</div>
</body>
</html>